package org.example.aicloud.util;

/**
 * 全局变量
 */
public class AppVariable {

    public static final String DISCUSS_SUPPORT_TOPIC = "DISCUSS_SUPPORT_TOPIC";
    public static final long PAGE_SIZE = 3;//todo 上线前改为10

    // 大模型调用分布式锁 key
    public static String getModelLockKey(Long uid, int model, int type) {
        return "MODEL_LOCK_KEY_" + uid + "_" + model + "_" + type;
    }

    /**
     *  列表缓存key
     */
    public static String getListCacheKey(Long uid,int model,int type) {
        return "LIST_CACHE_KEY_" + uid + "_" + model + "_" + type;
    }
}
